module.exports = {
  success: ({ code = 0, message = 'request is ok', data = null } = {}) => {
    return { code, message, data };
  },
  error: ({ code = -1, message = null } = {}) => {
    return { code, message };
  },
}